package com.gitee.wsl.struct.command.completion


/*class EnvvarCompletionTest {
    @Test
    @JsName("test_completion_from_envvar")
    fun `test completion from envvar`() = forAll(
        row("bash"),
        row("zsh"),
        row("fish")
    ) { shell ->
        class C : TestCommand(autoCompleteEnvvar = "TEST_COMPLETE") {
            init {
                context {
                    readEnvvar = mapOf("TEST_COMPLETE" to shell)::get
                }
            }
        }

        shouldThrow<PrintCompletionMessage> {
            C().subcommands(C()).parse("")
        }.message shouldContain shell
    }
}*/
